package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.pojo.Works;

import java.util.List;

/**
 * <p>
 * 作品表，存储用户发布的作品信息及相关属性 Mapper 接口
 * </p>
 *
 * @author zhx
 * @since 2025-01-17
 */
public interface WorksMapper extends BaseMapper<Works> {


    Works getAllWorks(Integer workId);


    void likesContent(Integer workId);


    void unlikesContent(Integer workId);

    void sharesContent(Integer workId);

    void unsharesContent(Integer workId);

}
